﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001027 RID: 4135
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournGetCurRogueCocoonInfoScRsp : IMessage<RogueTournGetCurRogueCocoonInfoScRsp>, IMessage, IEquatable<RogueTournGetCurRogueCocoonInfoScRsp>, IDeepCloneable<RogueTournGetCurRogueCocoonInfoScRsp>, IBufferMessage
	{
		// Token: 0x17003440 RID: 13376
		// (get) Token: 0x0600B8EB RID: 47339 RVA: 0x001F27C7 File Offset: 0x001F09C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournGetCurRogueCocoonInfoScRsp> Parser
		{
			get
			{
				return RogueTournGetCurRogueCocoonInfoScRsp._parser;
			}
		}

		// Token: 0x17003441 RID: 13377
		// (get) Token: 0x0600B8EC RID: 47340 RVA: 0x001F27CE File Offset: 0x001F09CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournGetCurRogueCocoonInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003442 RID: 13378
		// (get) Token: 0x0600B8ED RID: 47341 RVA: 0x001F27E0 File Offset: 0x001F09E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournGetCurRogueCocoonInfoScRsp.Descriptor;
			}
		}

		// Token: 0x0600B8EE RID: 47342 RVA: 0x001F27E7 File Offset: 0x001F09E7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournGetCurRogueCocoonInfoScRsp()
		{
		}

		// Token: 0x0600B8EF RID: 47343 RVA: 0x001F27F0 File Offset: 0x001F09F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournGetCurRogueCocoonInfoScRsp(RogueTournGetCurRogueCocoonInfoScRsp other) : this()
		{
			this.difficultyLevel_ = other.difficultyLevel_;
			this.retcode_ = other.retcode_;
			this.gEBLLHGAKFF_ = other.gEBLLHGAKFF_;
			this.dDACBMOIGCA_ = other.dDACBMOIGCA_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B8F0 RID: 47344 RVA: 0x001F2844 File Offset: 0x001F0A44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournGetCurRogueCocoonInfoScRsp Clone()
		{
			return new RogueTournGetCurRogueCocoonInfoScRsp(this);
		}

		// Token: 0x17003443 RID: 13379
		// (get) Token: 0x0600B8F1 RID: 47345 RVA: 0x001F284C File Offset: 0x001F0A4C
		// (set) Token: 0x0600B8F2 RID: 47346 RVA: 0x001F2854 File Offset: 0x001F0A54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DifficultyLevel
		{
			get
			{
				return this.difficultyLevel_;
			}
			set
			{
				this.difficultyLevel_ = value;
			}
		}

		// Token: 0x17003444 RID: 13380
		// (get) Token: 0x0600B8F3 RID: 47347 RVA: 0x001F285D File Offset: 0x001F0A5D
		// (set) Token: 0x0600B8F4 RID: 47348 RVA: 0x001F2865 File Offset: 0x001F0A65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003445 RID: 13381
		// (get) Token: 0x0600B8F5 RID: 47349 RVA: 0x001F286E File Offset: 0x001F0A6E
		// (set) Token: 0x0600B8F6 RID: 47350 RVA: 0x001F2876 File Offset: 0x001F0A76
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GEBLLHGAKFF
		{
			get
			{
				return this.gEBLLHGAKFF_;
			}
			set
			{
				this.gEBLLHGAKFF_ = value;
			}
		}

		// Token: 0x17003446 RID: 13382
		// (get) Token: 0x0600B8F7 RID: 47351 RVA: 0x001F287F File Offset: 0x001F0A7F
		// (set) Token: 0x0600B8F8 RID: 47352 RVA: 0x001F2887 File Offset: 0x001F0A87
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DDACBMOIGCA
		{
			get
			{
				return this.dDACBMOIGCA_;
			}
			set
			{
				this.dDACBMOIGCA_ = value;
			}
		}

		// Token: 0x0600B8F9 RID: 47353 RVA: 0x001F2890 File Offset: 0x001F0A90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournGetCurRogueCocoonInfoScRsp);
		}

		// Token: 0x0600B8FA RID: 47354 RVA: 0x001F28A0 File Offset: 0x001F0AA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournGetCurRogueCocoonInfoScRsp other)
		{
			return other != null && (other == this || (this.DifficultyLevel == other.DifficultyLevel && this.Retcode == other.Retcode && this.GEBLLHGAKFF == other.GEBLLHGAKFF && this.DDACBMOIGCA == other.DDACBMOIGCA && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B8FB RID: 47355 RVA: 0x001F290C File Offset: 0x001F0B0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DifficultyLevel != 0U)
			{
				num ^= this.DifficultyLevel.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.GEBLLHGAKFF != 0U)
			{
				num ^= this.GEBLLHGAKFF.GetHashCode();
			}
			if (this.DDACBMOIGCA != 0U)
			{
				num ^= this.DDACBMOIGCA.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B8FC RID: 47356 RVA: 0x001F2996 File Offset: 0x001F0B96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B8FD RID: 47357 RVA: 0x001F299E File Offset: 0x001F0B9E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B8FE RID: 47358 RVA: 0x001F29A8 File Offset: 0x001F0BA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GEBLLHGAKFF != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.GEBLLHGAKFF);
			}
			if (this.DifficultyLevel != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.DifficultyLevel);
			}
			if (this.DDACBMOIGCA != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.DDACBMOIGCA);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B8FF RID: 47359 RVA: 0x001F2A3C File Offset: 0x001F0C3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DifficultyLevel != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DifficultyLevel);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.GEBLLHGAKFF != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GEBLLHGAKFF);
			}
			if (this.DDACBMOIGCA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DDACBMOIGCA);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B900 RID: 47360 RVA: 0x001F2AC4 File Offset: 0x001F0CC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournGetCurRogueCocoonInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DifficultyLevel != 0U)
			{
				this.DifficultyLevel = other.DifficultyLevel;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.GEBLLHGAKFF != 0U)
			{
				this.GEBLLHGAKFF = other.GEBLLHGAKFF;
			}
			if (other.DDACBMOIGCA != 0U)
			{
				this.DDACBMOIGCA = other.DDACBMOIGCA;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B901 RID: 47361 RVA: 0x001F2B3C File Offset: 0x001F0D3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B902 RID: 47362 RVA: 0x001F2B48 File Offset: 0x001F0D48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 80U)
				{
					if (num == 24U)
					{
						this.GEBLLHGAKFF = input.ReadUInt32();
						continue;
					}
					if (num == 80U)
					{
						this.DifficultyLevel = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 104U)
					{
						this.DDACBMOIGCA = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04004A84 RID: 19076
		private static readonly MessageParser<RogueTournGetCurRogueCocoonInfoScRsp> _parser = new MessageParser<RogueTournGetCurRogueCocoonInfoScRsp>(() => new RogueTournGetCurRogueCocoonInfoScRsp());

		// Token: 0x04004A85 RID: 19077
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004A86 RID: 19078
		public const int DifficultyLevelFieldNumber = 10;

		// Token: 0x04004A87 RID: 19079
		private uint difficultyLevel_;

		// Token: 0x04004A88 RID: 19080
		public const int RetcodeFieldNumber = 14;

		// Token: 0x04004A89 RID: 19081
		private uint retcode_;

		// Token: 0x04004A8A RID: 19082
		public const int GEBLLHGAKFFFieldNumber = 3;

		// Token: 0x04004A8B RID: 19083
		private uint gEBLLHGAKFF_;

		// Token: 0x04004A8C RID: 19084
		public const int DDACBMOIGCAFieldNumber = 13;

		// Token: 0x04004A8D RID: 19085
		private uint dDACBMOIGCA_;
	}
}
